package com.example.lbstest.mapper;

import com.example.lbstest.pojo.Score;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface ScoreMapper {
    int insertOneScore(Score score);
    Score selectOnePersonScore(String student_number,String class_number,String test_name);
    List<Score> selectScoreList(String class_number, String test_name);
    int selectScoreMax(String class_number,String test_name);
    List<String> selectTestName(String class_number);
}
